Xceed Toolkit Plus for WPF v4.6 Documentation
Creating Your First Toolkit Plus for WPF Project
Welcome to Xceed Toolkit Plus for WPF v4.6 > Getting Started > Creating Your First Toolkit Plus for WPF Project

In order to use Xceed Toolkit Plus for WPF, .NET Framework 4.0+or .NET5+ must be installed.

All the assemblies required to use this product were placed in the installation folder (by default, C:\Program Files\Xceed\Xceed Toolkit Plus for WPF v#.#\Bin) by the installer and integrated into Visual Studio 2010 and up. The next step is to create an application that uses your newly installed component.

On 64-bit operation systems, the assemblies are installed in the Program Files (x86) folder rather than the Program Files folder.

Creating a New Project in Visual Studio

Begin by creating a new application from the installed templates. Once the new project is created, the control will be available in the toolbox and can be dragged onto the design surface.

If you prefer, you can add the references to the appropriates assemblies manually by right-clicking on the main project and selecting the Add Reference... menu item, which will open the Add Reference dialog box in which you can select the assemblies from the .NET tab. Now that the assemblies have been added, the required namespaces, which are included within the schema context, must be mapped using the xmlns attribute.

For controls other than the datagrid, listbox (and its themes), docking (AvalonDock) controls, use the following:

xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"

Remember to use the namespace prefix (xctk:) in the body of your XAML!

The schema collection for Xceed Toolkit Plus for WPF holds the following main namespaces:

Namespace Description
Xceed.Wpf.Toolkit Contains most of the toolkit's controls.
Xceed.Wpf.Toolkit.Chart Contains the toolkit's chart control and its associated classes and enumerations.
Xceed.Wpf.Toolkit.Primitives Contains various base classes and controls that are intended to be used as part of other more complex controls.
Xceed.Wpf.Toolkit.PropertyGrid Contains the classes needed for the PropertyGrid control.
Xceed.Wpf.Toolkit.PropertyGrid.Attributes Contains the classes representing the possible attributes of PropertyGrid, in addition to the IItemsSource interface.
Xceed.Wpf.Toolkit.PropertyGrid.Commands Contains the classes representing the commands of PropertyGrid.
Xceed.Wpf.Toolkit.PropertyGrid.Converters Contains the PropertyGrid converters.
Xceed.Wpf.Toolkit.PropertyGrid.Editors Contains the PropertyGrid's built-in editors.
Xceed.Wpf.Toolkit.Themes Contains classes related to the toolkit's themes.
Xceed.Wpf.Themes Contains the base class of the themes that can be applied to the core Microsoft WPF controls.
Xceed.Wpf.Themes.Office2007 Contains the classes of the Office 2007 themes (black, blue, and silver) that can be applied to the core Microsoft WPF controls.
Xceed.Wpf.Toolkit.Zoombox Contains the classes related to the Zoombox control.

Add a using statement for C# files or an Imports statement for VB.NET for the assemblies that you need:

using Xceed.Wpf.Toolkit;
Imports Xceed.WPF.Toolkit

Licensing

In order to use the tools contained in the toolkit in your application, the LicenseKey property of the Licenser class must be set with a valid license key before any other method of the component is called. If you use an invalid or expired license key, fail to license the control altogether, or license it in the wrong place in your code, an exception will be thrown at run time.

For more information on licensing, refer to the Licensing topic.